import request from '@/axios/request'
import url from '@/axios/url'
const { mesUrl, adminUrl, wmsUrl } = url()


export function getRecheckDataReportForms(data = {}) {
  return request({
    url: `${mesUrl}reportOperate/getRecheckDataReportForms`,
    method: 'get',
    params: data
  })
}


export function getOfflineReportForms(data = {}) {
  return request({
    url: `${mesUrl}reportOperate/getOfflineReportForms`,
    method: 'get',
    params: data
  })
}

export function getPreparationDataReportForms(data = {}) {
  return request({
    url: `${mesUrl}reportOperate/getPreparationDataReportForms`,
    method: 'get',
    params: data
  })
}


export function deliveryTimeObtain(data = {}) {
  return request({
    url: `${mesUrl}reportOperate/deliveryTimeObtain`,
    method: 'get',
    params: data
  })
}

export function procedureTimeObtain(data = {}) {
  return request({
    url: `${mesUrl}reportOperate/procedureTimeObtain`,
    method: 'get',
    params: data
  })
}


export function getReworkVos(data = {}) {
  return request({
    url: `${mesUrl}reportOperate/getReworkVos`,
    method: 'get',
    params: data
  })
}

export function getPreparationReworkList(id = "") {
  return request({
    url: `${mesUrl}reportOperate/getPreparationReworkList/${id}`,
    method: 'get',
  })
}

